package com.wugenqiang.project.system.controller;

import com.wugenqiang.project.system.service.IUserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @Classname IndexController
 * @Description TODO
 * @Date 2019/3/8 10:08
 * @Created by WuGenQiang//fighting!!
 */
@Controller("adminIndexController")
@RequestMapping("/lfd/admin")
public class IndexController extends BaseController{

    private static final Logger LOGGER = LoggerFactory.getLogger(IndexController.class);

    @Resource
    private IUserService userService;

    //请求访问主页index
    @GetMapping(value = {"","/index"})
    public String index(){
        return "index";
    }

}
